<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2022/10/12
  Time: 10:42
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java"  pageEncoding="UTF-8" isErrorPage="true"  %>
<html>
<head>
    <title>错误页面</title>
</head>
<body>
<%
    String errorMsg = (String)session.getAttribute("error");
    response.setHeader("Refresh", "3;URL=index.jsp");
%>
<h1 style="color: red;">异常服务！错误信息:<%=errorMsg%></h1>
</body>
</html>
